package com.ruoyi.ma.domain.bo;

import com.ruoyi.common.core.validate.AddGroup;
import com.ruoyi.common.core.validate.EditGroup;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.validation.constraints.*;

import java.util.Date;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 往期材料支付报表业务对象 ma_report_form_payment
 *
 * @author tll
 * @date 2024-11-27
 */

@Data
@EqualsAndHashCode(callSuper = true)
public class MaReportFormPaymentBo extends BaseEntity {

    /**
     * 报表id
     */
//    @NotNull(message = "报表id不能为空", groups = { EditGroup.class })
    private Long reportId;

    /**
     * 标段id
     */
//    @NotNull(message = "标段id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long bdId;

    /**
     * 站点id
     */
//    @NotNull(message = "站点id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long zdId;

    /**
     * 供应商id
     */
    @NotNull(message = "供应商id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long gysId;

    /**
     * 类型id
     */
//    @NotNull(message = "类型id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long type;

    /**
     * 计量期号id
     */
//    @NotNull(message = "计量期号id不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long measureQhId;

    /**
     * 期号
     */
//    @NotNull(message = "期号不能为空", groups = { AddGroup.class, EditGroup.class })
    private Long qh;

    /**
     * 期号名称
     */
//    @NotBlank(message = "期号名称不能为空", groups = { AddGroup.class, EditGroup.class })
    private String qhName;

    /**
     * 是否当前期
     */
    @NotBlank(message = "是否当前期不能为空", groups = { AddGroup.class, EditGroup.class })
    private String currentQhFlag;

    /**
     * 开始时间
     */
//    @NotNull(message = "开始时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date beginDate;

    /**
     * 结束时间
     */
//    @NotNull(message = "结束时间不能为空", groups = { AddGroup.class, EditGroup.class })
    private Date endDate;

    /**
     * 工作流状态
     */
//    @NotBlank(message = "工作流状态不能为空", groups = { AddGroup.class, EditGroup.class })
    private String workflowsStateus;

    /**
     * 备注
     */
//    @NotBlank(message = "备注不能为空", groups = { AddGroup.class, EditGroup.class })
    private String remark;

    private Long projectId; // 项目id

}
